/* **************************************************
 * User Group Manager
 *      author:     Baskin Tapkan - baskint@hotmail.com
 *          written for Code Plex
 *              April - 2008
 *                  http://tapkan.com
 * ****************************************************
 */

using System;
using System.Collections.Generic;
using System.Text;

namespace UserGroupManager
{
    interface IGroupMgr
    {
        List<string> GetLocalGroups();
        bool CheckGroup(string groupName);
        bool IsMember(string userName, string groupName);
        // <-- CRUD operations -->
        bool DeleteGroup(string grpName);
        bool EditGroup(string oldGrpName, string newGrpName, string oldGrpDesc, string newGrpDesc);
        bool CreateNewGroup(string grpName, string grpDesc);
        // <-- member ops -->
        List<string> GetMembersInGroup(string groupName);
    }
}
